﻿using System;
using YinfangWeb.Common;

namespace YinfangWeb.Model
{
	/// <summary>
	/// MerchantFactory
	/// </summary>
    [Serializable]
	public class MerchantFactory
	{
		/// <summary>
		/// MerchantFactoryID
        /// </summary>
        [FieldName("MerchantFactoryID")]		
		public int MerchantFactoryID
		{
			get;
			set;
		}
        
		/// <summary>
		/// MerchantDataID
        /// </summary>
        [FieldName("MerchantDataID")]		
		public int MerchantDataID
		{
			get;
			set;
		}
        
		/// <summary>
		/// FactoryState
        /// </summary>
        [FieldName("FactoryState")]		
		public int FactoryState
		{
			get;
			set;
		}
        
		/// <summary>
		/// FactoryName
        /// </summary>
        [FieldName("FactoryName")]		
		public string FactoryName
		{
			get;
			set;
		}
        
		/// <summary>
		/// PuCityID
        /// </summary>
        [FieldName("PuCityID")]		
		public int PuCityID
		{
			get;
			set;
		}
        
		/// <summary>
		/// Address
        /// </summary>
        [FieldName("Address")]		
		public string Address
		{
			get;
			set;
		}
        
		/// <summary>
		/// LegalPerson
        /// </summary>
        [FieldName("LegalPerson")]		
		public string LegalPerson
		{
			get;
			set;
		}
        
		/// <summary>
		/// IdentityNumber
        /// </summary>
        [FieldName("IdentityNumber")]		
		public string IdentityNumber
		{
			get;
			set;
		}
        
		/// <summary>
		/// Contacter
        /// </summary>
        [FieldName("Contacter")]		
		public string Contacter
		{
			get;
			set;
		}
        
		/// <summary>
		/// Telephone
        /// </summary>
        [FieldName("Telephone")]		
		public string Telephone
		{
			get;
			set;
		}
        
		/// <summary>
		/// BusinessItem
        /// </summary>
        [FieldName("BusinessItem")]		
		public string BusinessItem
		{
			get;
			set;
		}
        
		/// <summary>
		/// FactoryInfo
        /// </summary>
        [FieldName("FactoryInfo")]		
		public string FactoryInfo
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegDateTime
        /// </summary>
        [FieldName("RegDateTime")]		
		public DateTime RegDateTime
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegUserID
        /// </summary>
        [FieldName("RegUserID")]		
		public int RegUserID
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegFullName
        /// </summary>
        [FieldName("RegFullName")]		
		public string RegFullName
		{
			get;
			set;
		}
        
		/// <summary>
		/// EditDateTime
        /// </summary>
        [FieldName("EditDateTime")]		
		public DateTime EditDateTime
		{
			get;
			set;
		}
        
		/// <summary>
		/// EditUserID
        /// </summary>
        [FieldName("EditUserID")]		
		public int EditUserID
		{
			get;
			set;
		}
        
		/// <summary>
		/// EditFullName
        /// </summary>
        [FieldName("EditFullName")]		
		public string EditFullName
		{
			get;
			set;
		}
        
        public MerchantFactory Clone()
        {
            return (MerchantFactory)this.MemberwiseClone();
        }
        
        public MerchantFactory()
        {
            FactoryName = string.Empty;
            Address = string.Empty;
            LegalPerson = string.Empty;
            IdentityNumber = string.Empty;
            Contacter = string.Empty;
            Telephone = string.Empty;
            BusinessItem = string.Empty;
            FactoryInfo = string.Empty;
            RegDateTime = ConvertHelper.DefaultDate;
            RegFullName = string.Empty;
            EditDateTime = ConvertHelper.DefaultDate;
            EditFullName = string.Empty;
        }
	}
}
